package com.qf.service;

import com.qf.entity.Tbuser;

import java.util.List;

/**
 * 业务层接口
 */
public interface TbUserService {
    Tbuser findTbUserById(int id);

    List<Tbuser> list();

    Tbuser login(String username, String password);

    int adduser(Tbuser tbuser);

    int updateTbUser(Tbuser tbuser);

    int deleteTbUser(String id);
}
